package com.aaa.controller;

import com.aaa.service.MyUserDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * -*- coding:utf-8 -*-
 *
 * @author 太阳偷渡青山
 * @software IntelliJ IDEA
 * @date 2022/12/30 14:46
 * @Description
 */
@RestController
public class MyUserDetailController {
    @Autowired
    private MyUserDetailService myUserDetailService;

    @RequestMapping("/test")
    public void test(){
        myUserDetailService.loadUserByUsername("cwh");
    }
}
